<!-- <template>
	<view>
		<uni-popup ref="popup" >
			<view style="width: 100%;height: 600rpx;background-color: #FFFFFF;bottom: -68rpx;position: absolute;">
				<view style="display: flex;justify-content: space-between;padding: 16rpx 30rpx;">
					<view style="color: #388CFE;font-size: 34rpx;" @click="close()">取消</view>
					<view style="font-size: 34rpx;">检查范围</view>
					<view style="color: #388CFE;font-size: 34rpx;" @click="finish()">完成</view>
				</view>
				<template v-for="(item,index) in list" :key="index">
					<view style="display: flex;justify-content: space-between;padding: 16rpx 32rpx;margin-top: 20rpx;" @click="changeSelect(index)">
						<view style="font-size: 32rpx;">{{item.name}}</view>
						<image src="../../../static/icon_success@3x.png" style="width: 40rpx;height: 40rpx;" v-show="item.selected"></image>
					</view>
					<view style="width: 690rpx;height: 1rpx;background-color: #EBEDF0;margin-left: 32rpx;margin-top: 12rpx;"></view>
				</template>
				
				
			</view>
		</uni-popup>
	</view>	
</template>

<script>
	export default{
		data(){
			return{
				list:[{name:'镇街检查',selected:false},{name:'村社自查',selected:false}]
			}
		},
		methods:{
			open(date,position='bottom'){
				this.$refs.popup.open(position)
				console.log('open');
			},
			changeSelect(index){
				this.list[index].selected=!this.list[index].selected
				console.log(index);
			}
		}
	}
</script>

<style>
</style>
 -->